package com.example.graduationdesignbackend.service;

import com.example.graduationdesignbackend.dto.FeedbackDto;
import com.example.graduationdesignbackend.dto.PageDto;
import com.example.graduationdesignbackend.entity.Feedback;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.graduationdesignbackend.query.FeedbackQuery;
import com.example.graduationdesignbackend.res.Res;

/**
 * <p>
 * 在线留言 服务类
 * </p>
 *
 * @author yuze
 * @since 2024-04-16
 */
public interface IFeedbackService extends IService<Feedback> {
  Res<String> createFeedback(FeedbackDto feedbackDto);

  Feedback getInfo(String id);
  PageDto<Feedback> getFeedbackPages(FeedbackQuery feedbackQuery);
}
